﻿<cfsilent>
	<cfscript>
		
		jsonAdvice = getProperty("serviceFactory").getBean("jsonAdvice");
		filer = getProperty("serviceFactory").getBean("tagFileHelper");
		
		response = structNew();
		structInsert(response, "success", false, true);
		
		zipUUID = event.getArg("UUID");
		
		temFile = getProperty("cdnAssetsPath") & "/tmp/stuPictureCET/" & zipUUID & ".zip";
		
		if ( fileExists(temFile) ) {
			
			filer.delete(temFile  );
			
			structInsert(response, "operation", "删除文件 " & zipUUID & ".zip", true);
		
		}
		else {

			structInsert(response, "operation", "文件 " & zipUUID & ".zip 不存在", true);
		
		}
		
		
		structInsert(response, "success", true, true);

	</cfscript>
</cfsilent><cfoutput>#jsonAdvice.encode(data:response, stringNumbers:true)#</cfoutput>